package com.search.examples;

import com.alibaba.fastjson2.JSONObject;

import java.util.ArrayList;
import java.util.List;

public class Demo {
    public static void main(String[] args) throws Exception {
        String url = "https://www.jd.com";
        //String url = "https://www.douban.com/doulist/25353";
        JSONObject res = HttpTool.get(url,1);

        char[] a = new char[7];
        char c = 'h';
        String str = new String("dfgdf");
        str = str+c;
        System.out.println(str);

        List list = new ArrayList();
        list.stream();
        char[] arr = {1,2,3,4,5};
        char[] newArr = new char[4];
        System.arraycopy(arr,0,newArr,0,0);
        System.arraycopy(arr,3,newArr,2,2);
        System.out.println(newArr);
    }
}
